# 元组元素查询：元素统计

info = (1, 2, 3, 2)
# 统计元素2的数量
print(info.count(2))  # 2
print(info.count(3))  # 1
print(info.count(4))  # 0

